}
g_object_unref (iter);
+ G_GNUC_BEGIN_IGNORE_DEPRECATIONS
if (accel && action)
gtk_application_add_accelerator (app, accel, action, target);
+ G_GNUC_END_IGNORE_DEPRECATIONS
if (target)
g_variant_unref (target);
* than calling this function for each accelerator.
*
* Since: 3.4
+ *
+ * Deprecated: 3.14: Use gtk_application_set_accels_for_action() instead
*/
void
gtk_application_add_accelerator (GtkApplication *application,
* with gtk_application_add_accelerator().
*
* Since: 3.4
+ *
+ * Deprecated: 3.14: Use gtk_application_set_accels_for_action() instead
*/
void
gtk_application_remove_accelerator (GtkApplication *application,
void gtk_application_set_menubar (GtkApplication *application,
GMenuModel *menubar);
-GDK_AVAILABLE_IN_3_4
+GDK_DEPRECATED_IN_3_14_FOR(gtk_application_set_accels_for_action)
void gtk_application_add_accelerator (GtkApplication *application,
const gchar *accelerator,
const gchar *action_name,
GVariant *parameter);
-GDK_AVAILABLE_IN_3_4
+
+GDK_DEPRECATED_IN_3_14_FOR(gtk_application_set_accels_for_action)
void gtk_application_remove_accelerator (GtkApplication *application,
const gchar *action_name,
GVariant *parameter);